/* Ncursesw implementation of Grconsole
	Implements using ncursesw, tries to invoke 256 colour mode in console
*/

import {
		"code.google.com/p/goncurses"
	}

type Ncurses_console struct {
	// some ncurses bookeeping
	}

func (nc * Ncurses_console) Init (dimensions coord, depth uint32, font-size uint8, runes []rune) bool
	{
		//init Ncurses
		//check that our terminal emulator supports requested dimensions, depth, font-size

		// check that we support unicode mode if any runes outside ASCII char set
		return true
	}

func (nc Ncurses_console) Refresh (db * DisplayBuffer, dirty []coord) bool
	{
		//iterate over dirty list using At to write characters directly
		for _,rune := dirty {
		}
		return true
}

func (nc Ncurses_console) GetCommand() Command {      
        //poll keyboard, mouse clicks
}

func (nc Ncurses_console) GetItem() ItemID {
        //prompt for item selection with menu
}

func (nc Ncurses_console) GetCoord() Coord {
        //prompt for coordinate selection with icon etc (mouse or keyboard)
}
